package com.jasen.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * Feign旨在使编写Java Http客户端变得更容易。
 * Feign是一个声明式的Web服务客户端，使得编写Web服务客户端变得非常容易，只需要创建一个接口，然后在上面添加注解即可。
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = "com.jasen.springcloud.service")
public class DeptConsumer80_Feign_App
{
    public static void main( String[] args )
    {
        SpringApplication.run(DeptConsumer80_Feign_App.class, args);
    }
}
